<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:83:"D:\phpS\PHPTutorial\WWW\potatocms\public/../application/admin\view\index\index.html";i:1587972070;}*/ ?>
<script>
    if(self!=top){
        parent.window.location.replace(window.location.href);
    }
</script>
<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Potato_cms</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="/potatocms/public/static/admin/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/potatocms/public/static/admin/adminlte/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/potatocms/public/static/admin/adminlte/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/potatocms/public/static/admin/adminlte/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="/potatocms/public/static/admin/adminlte/css/skins/all-skins.min.css">
    <style type="text/css">
        html {
            overflow: hidden;
        }
    </style>
</head>
<body class="hold-transition skin-blue sidebar-mini fixed">
<div class="wrapper">
    <header class="main-header">
        <!-- Logo -->
        <a href="<?php echo url('index/index'); ?>" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>C</b>MS</span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>Potato</b>CMS</span>
        </a>
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>

            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <!-- User Account: style can be found in dropdown.less -->
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="/potatocms/public/static/admin/adminlte/img/user2-160x160.jpg" class="user-image" alt="User Image">
                            <span class="hidden-xs"><?php echo \think\Request::instance()->session('username'); ?></span>
                        </a>
                        <ul class="dropdown-menu" style="width: 105px;min-width: 105px;">
                            <!-- Menu Footer-->
                            <li>
                                    <a href="<?php echo url('logout'); ?>" class="btn btn-default btn-flat" style="padding: 10px 0;">退出</a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
            <!-- sidebar menu: : style can be found in sidebar.less -->
            <ul class="sidebar-menu">
            
            </ul>
        </section>
        <!-- /.sidebar -->
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper" id="content-wrapper" style="min-height: 421px;">
        <!--bootstrap tab风格 多标签页-->
        <div class="content-tabs" style="display: none;">
            <button class="roll-nav roll-left tabLeft" onclick="scrollTabLeft()">
                <i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs menuTabs tab-ui-menu" id="tab-menu">
                <div class="page-tabs-content" style="margin-left: 0px;">

                </div>
            </nav>
            <button class="roll-nav roll-right tabRight" onclick="scrollTabRight()">
                <i class="fa fa-forward" style="margin-left: 3px;"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown tabClose" data-toggle="dropdown">
                    页签操作<i class="fa fa-caret-down" style="padding-left: 3px;"></i>
                </button>
                <ul class="dropdown-menu dropdown-menu-right" style="min-width: 128px;">
                    <li><a class="tabReload" href="javascript:refreshTab();">刷新当前</a></li>
                    <li><a class="tabCloseCurrent" href="javascript:closeCurrentTab();">关闭当前</a></li>
                    <li><a class="tabCloseAll" href="javascript:closeOtherTabs(true);">全部关闭</a></li>
                    <li><a class="tabCloseOther" href="javascript:closeOtherTabs();">除此之外全部关闭</a></li>
                </ul>
            </div>
            <button class="roll-nav roll-right fullscreen" onclick="App.handleFullScreen()"><i
                    class="fa fa-arrows-alt"></i></button>
        </div>
        <div class="content-iframe " style="background-color: #ffffff; ">
            <div class="tab-content " id="tab-content">

            </div>
        </div>
    </div>
    <!-- /.content-wrapper -->

    <footer class="main-footer">
        <div class="pull-right hidden-xs">
            <b>Version</b> 1.0.0
        </div>
        <strong>Copyright &copy; 2019-2039 <a href="javascript:void(0)">Potato Studio</a>.</strong> All rights
        reserved.
    </footer>
    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->

<!-- jQuery 2.2.3 -->
<script src="/potatocms/public/static/admin/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="/potatocms/public/static/admin/bootstrap/js/bootstrap.min.js"></script>
<!-- Slimscroll -->
<script src="/potatocms/public/static/admin/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="/potatocms/public/static/admin/plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="/potatocms/public/static/admin/adminlte/js/app.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/potatocms/public/static/admin/adminlte/js/demo.js"></script>
<!--tabs-->
<script src="/potatocms/public/static/admin/adminlte/js/app_iframe.js"></script>

<script type="text/javascript">

    $(function () {
        App.setbasePath("/potatocms/public/static/admin/adminlte");
        App.setGlobalImgPath("../img/");
        addTabs({
            id: '',
            title: '欢迎页',
            close: false,
            url: "<?php echo url('welcome'); ?>",
            urlType: "relative"
        });
        App.fixIframeCotent(); 
        var menus = [
            {
                id: "9002",
                text: "栏目管理",
                icon: "fa fa-sitemap",
                url: "<?php echo url('column/lst'); ?>",
                targetType: "iframe-tab"
            },
            {
                id: "9003",
                text: "内容管理",
                icon: "fa fa-tasks",
                url: "<?php echo url('content/lst'); ?>",
                targetType: "iframe-tab"
            },
            {
                id: "9004",
                text: "轮播图管理",
                icon: "fa fa-picture-o",
                url: "<?php echo url('banner/lst'); ?>",
                targetType: "iframe-tab"
            },
            {
                id: "9005",
                text: "系统管理",
                icon: "fa fa-wrench",
                url: "<?php echo url('setting/index'); ?>",
                targetType: "iframe-tab"
            },
            {
                id: "9002",
                text: "管理列表",
                icon: "fa fa-asterisk",
                children: [
                    {
                        id: "90021",
                        text: "用户列表",
                        url: "<?php echo url('user/lst'); ?>",
                        targetType: "iframe-tab",
                        icon: "fa fa-user"
                    },
                    {
                        id: "90022",
                        text: "权限列表",
                        url: "<?php echo url('authRule/lst'); ?>",
                        targetType: "iframe-tab",
                        icon: "fa fa-sitemap"
                    },
                    {
                        id: "90023",
                        text: "用户组列表",
                        url: "<?php echo url('authGroup/lst'); ?>",
                        targetType: "iframe-tab",
                        icon: "fa fa-users"
                    }
                ]
            }
        ];
        $('.sidebar-menu').sidebarMenu({data: menus});
    });
</script>

</body>
</html>